{include 'admin/layout/header_list'}
<link rel="stylesheet" href="__ADMIN_STATIC__/css/addContent.css?random={extendSetting('random')}">
<div class="addcontent">
    <form class="ajaxForm" method="post" >
        <input type="hidden" name="_method" value="post">
        <table class="switchContainer table" >
            <tbody class="tb">
            <tr>
                <td class="tl">
                    <span><strong></strong>模块类型</span>
                </td>
                <td>
                    <p class="article-status">
                        <input class="switch_btn hand" id="nei_zhi" data-index="1" name="isLink" type="radio" value="0" checked >
                        <label class="hand" for="nei_zhi">内置模型</label>
                        <input class="switch_btn hand" id="wai_bu" data-index="2" name="isLink" type="radio" value="1" >
                        <label class="hand" for="wai_bu">外部链接</label>
                    </p>
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong>* </strong>模块名称</span>
                </td>
                <td>
                    <input class="long" name="name" type="text" >(颜色：<input  style="width:80px;" name="style" type="text" >)
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong></strong>导航菜单</span>
                </td>
                <td>
                    <p class="article-status">
                        <input name="isMenu" type="radio" value="1"  >是
                        <input name="isMenu" type="radio" value="0" checked >否
                    </p>
                </td>
            </tr>
            <tr>
                <td class="tl">
                    <span><strong></strong>新窗口打开</span>
                </td>
                <td>
                    <p class="article-status">
                        <input name="isBlank" type="radio" value="1"  >是
                        <input name="isBlank" type="radio" value="0" checked>否
                    </p>
                </td>
            </tr>
            </tbody>
            <tbody class="tb switchBox switch_box_1 displayTableRowGroup" >
            <tr>
                <td class="tl">
                    <span><strong>* </strong>所属模型</span>
                </td>
                <td>
                    <select name="module">
                        <option value="">请选择</option>
                        <option value="article">文章</option>
                        <option value="extend">扩展</option>
                        <option value="shop">商城</option>
                    </select>
                </td>
            </tr>
            <tr >
                <td class="tl">
                    <span><strong>* </strong>模块目录</span>
                </td>
                <td>
                    <input class="long" type="text" name="urlPath" value="">
                </td>
            </tr>
            <tr >
                <td class="tl">
                    <span>电脑版绑定域名</span>
                </td>
                <td>
                    <input class="long" type="text" name="domain_pc" value="">
                </td>
            </tr>
            <tr >
                <td class="tl">
                    <span> 手机版绑定域名</span>
                </td>
                <td>
                    <input class="long" type="text" name="domain_mobile" value="">
                </td>
            </tr>
            </tbody>
            <tbody class="tb switchBox switch_box_2" style="display: none;">
            <tr >
                <td class="tl">
                    <span><strong>*</strong>链接地址</span>
                </td>
                <td>
                    <input class="long" type="text" name="linkUrl" value="">
                </td>
            </tr>
            </tbody>
        </table>
        <div class="ltcms-button">
            <button class="btns submit ajaxBtn" type="button" data-submit-url="{LTCMS_ROUTE_PREFIX}/module" data-form=".ajaxForm" data-location-url="{LTCMS_ROUTE_PREFIX}/module" data-close="5" >保存并提交</button>
            <button class="btns cancel">取消并返回</button>
        </div>
    </form>
</div>
<script src="__ADMIN_STATIC__/js/addContent.js?random={extendSetting('random')}"></script>
{include 'admin/layout/footer'}